<div id="userOrderLogged">
	<?php
	$first=0;

	foreach($_SESSION["login"]->getCompanies() as $company){
		echo "Фирма : ".$company->getName()."<br/>";
		echo "Магазин : ";
		echo "<div id='shopsList'>";

		foreach ($company->getShops() as $shop){
			echo '<input type="radio" name="shopname" value="'.$shop->getId().'" ';
			if(isset($first)){
				echo "checked";
				unset($first);
			}
			echo' />'.$shop->getName().'<br/>';
		}
		echo "</div>";
	}
	?>
</div>
